
import { getRequest, postRequest } from '/@/lib/axios';

export const orderApi = {
  // 订单分页查询
  queryPage: (param) => {
    return postRequest('/bjd/order/queryPage', param);
  },
  
  // 订单导入
  import: (param) => {
    return postRequest('/bjd/order/import', param);
  },

  // 订单更新
  update: (param) => {
    return postRequest('/bjd/order/update', param);
  },

  // 查看订单相册
  viewAlbum: (orderId) => {
    return getRequest(`/bjd/order/viewAlbum/${orderId}`);
  }
};
